package com.qf.service;

import com.qf.entity.TbTeacher;
import com.qf.utils.ResultMsg;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author:LGD
 * @Date:2023/7/17 17:16
 */
public interface TeacherService {
    ResultMsg findAllTeacher(int page, int limit, String teacherName,String teacherTeach);

    ResultMsg getInfo(int teacherId);

    ResultMsg teacherLogin(String name, String password, HttpServletRequest request);

    ResultMsg findOne(String name);

    ResultMsg Modify(TbTeacher tbTeacher);

    ResultMsg uploadImg(MultipartFile file);
}
